package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author: monster
 * @data: 2018/4/12
 * @function: 评论详情的bean类
 */
public class CommentDetailsBean implements Serializable {


    /**
     * code : 1
     * data : [{"content":"二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论","icon_url":"http://0.0.0.0:5001/icons/cvlink_default_icon.jpg","id":42,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.587190","sub_comments":[{"content":"三级评论","id":43,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.590191","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论三级评论","id":44,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.590821","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论三级评论三级评论","id":45,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.591248","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论的同级评论","id":46,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.592851","receiver_id":6,"receiver_name":"13800138000","user_id":6,"user_name":"13800138000"},{"content":"三级评论的同级评论三级评论的同级评论","id":47,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.593290","receiver_id":6,"receiver_name":"13800138000","user_id":6,"user_name":"13800138000"}],"user_id":6,"user_name":"13800138000"},{"content":"二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论","icon_url":"http://0.0.0.0:5001/icons/cvlink_default_icon.jpg","id":41,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.586819","sub_comments":[],"user_id":6,"user_name":"13800138000"}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * content : 二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论二级评论
         * icon_url : http://0.0.0.0:5001/icons/cvlink_default_icon.jpg
         * id : 42
         * is_praise : false
         * praise_count : 0
         * publish_time : 2018-04-19 13:55:05.587190
         * sub_comments : [{"content":"三级评论","id":43,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.590191","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论三级评论","id":44,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.590821","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论三级评论三级评论","id":45,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.591248","receiver_id":-1,"receiver_name":"","user_id":6,"user_name":"13800138000"},{"content":"三级评论的同级评论","id":46,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.592851","receiver_id":6,"receiver_name":"13800138000","user_id":6,"user_name":"13800138000"},{"content":"三级评论的同级评论三级评论的同级评论","id":47,"is_praise":false,"praise_count":0,"publish_time":"2018-04-19 13:55:05.593290","receiver_id":6,"receiver_name":"13800138000","user_id":6,"user_name":"13800138000"}]
         * user_id : 6
         * user_name : 13800138000
         */

        private String content;
        private String icon_url;
        private int id;
        private boolean is_praise;
        private int praise_count;
        private String publish_time;
        private int user_id;
        private String user_name;
        private List<SubCommentsBean> sub_comments;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isIs_praise() {
            return is_praise;
        }

        public void setIs_praise(boolean is_praise) {
            this.is_praise = is_praise;
        }

        public int getPraise_count() {
            return praise_count;
        }

        public void setPraise_count(int praise_count) {
            this.praise_count = praise_count;
        }

        public String getPublish_time() {
            return publish_time;
        }

        public void setPublish_time(String publish_time) {
            this.publish_time = publish_time;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public List<SubCommentsBean> getSub_comments() {
            return sub_comments;
        }

        public void setSub_comments(List<SubCommentsBean> sub_comments) {
            this.sub_comments = sub_comments;
        }

        public static class SubCommentsBean {
            /**
             * content : 三级评论
             * id : 43
             * is_praise : false
             * praise_count : 0
             * publish_time : 2018-04-19 13:55:05.590191
             * receiver_id : -1
             * receiver_name :
             * user_id : 6
             * user_name : 13800138000
             */

            private String content;
            private int id;
            private boolean is_praise;
            private int praise_count;
            private String publish_time;
            private int receiver_id;
            private String receiver_name;
            private int user_id;
            private String user_name;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public boolean isIs_praise() {
                return is_praise;
            }

            public void setIs_praise(boolean is_praise) {
                this.is_praise = is_praise;
            }

            public int getPraise_count() {
                return praise_count;
            }

            public void setPraise_count(int praise_count) {
                this.praise_count = praise_count;
            }

            public String getPublish_time() {
                return publish_time;
            }

            public void setPublish_time(String publish_time) {
                this.publish_time = publish_time;
            }

            public int getReceiver_id() {
                return receiver_id;
            }

            public void setReceiver_id(int receiver_id) {
                this.receiver_id = receiver_id;
            }

            public String getReceiver_name() {
                return receiver_name;
            }

            public void setReceiver_name(String receiver_name) {
                this.receiver_name = receiver_name;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }
        }
    }
}
